// CppUnit-Tutorial
// Datei: bruchtest.h
#ifndef BRUCHTEST_H
#define BRUCHTEST_H

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "../include/socketServer.h"
#include "../include/socketClient.h"
#include "../include/staticObject.h"

using namespace std;
using namespace oal;

class testSocketServer : public CPPUNIT_NS :: TestFixture
{
	CPPUNIT_TEST_SUITE (testSocketServer);
	CPPUNIT_TEST (testMakeSocketServer);
	CPPUNIT_TEST (testSocketServerSendNewline);
	CPPUNIT_TEST (testSocketServerSendAndGetBytes);
	CPPUNIT_TEST (testSocketServerSendOneByte);
	CPPUNIT_TEST (testSocketServerSendNothing);
	CPPUNIT_TEST (testSocketServerSendFile);
	CPPUNIT_TEST (testSocketServerSendCompressFile);
	CPPUNIT_TEST (testSocketServerSendReallyMuchContent);
	CPPUNIT_TEST_SUITE_END ();

	public:
		void setUp (void);
		void tearDown (void);

	protected:
		void testMakeSocketServer (void);
		void testSocketServerSendNewline (void);
		void testSocketServerSendAndGetBytes (void);
		void testSocketServerSendOneByte (void);
		void testSocketServerSendNothing (void);
		void testSocketServerSendFile (void);
		void testSocketServerSendCompressFile (void);
		void testSocketServerSendReallyMuchContent (void);

};

#endif
